#ifndef __IO_Ctrl_hw_H
#define __IO_Ctrl_hw_H


#ifdef __cplusplus
extern "C" {
#endif 

#include "gd32e10x.h"

void init_IOCtrl_hw(void);
void writeIOHigh(uint32_t gpio_port, uint32_t pin);
void writeIOLow(uint32_t gpio_port, uint32_t pin);
uint32_t readIOsta(uint32_t gpio_port, uint32_t pin);
void relayPowerOn_hw(void);
void relayPowerOff_hw(void);
void EngineStart_PowerOn(void);
void EngineStart_PowerOff(void);
FlagStatus relayPowerOff_hw_sta(void);
FlagStatus EngineStart_PowerOff_sta(void);

#ifdef __cplusplus
}
#endif


#endif



